package com.chunfen.tomcat.designpattern;

public abstract class State {

    protected GumballMachine gumballMachine;

    protected abstract void insertQuarter();

    protected abstract void ejectQuarter();

    protected abstract void turnCrank();

    protected abstract void dispense();

    @Override
    public String toString() {
        return "State{" + this.getClass().getSimpleName() + "}";
    }
}
